StringScanner.SkipOverAlphaNum Function
Syntax
Chars_Skipped as N = SkipOverAlphaNum as n()
Arguments
- Chars_Skipped
The number of characters the offset has been moved.
Description
Skip over a sequence of alphanumeric characters. Returns number of characters skipped.
Discussion
The <StringScanner>.SkipOverAlphaNum() function moves the offset to the next non-alpha and non-numeric character and returns the number of characters that the offset has moved. The offset does not move if it already is pointing to a non-alpha and non-numeric character.
Example
dim scanner as P dim txt as C txt = <<%text%This1234 is wonderful prose written by a technical writer of note. %text% scanner = stringscanner.create(txt) ? scanner.skipoveralphanum() = 8 ? scanner.GetToOffset() = "This1234" ? scanner.getremainder() =is wonderful prose written by a technical writer of note.
See Also